export default () => {
    return {
        submitText: '修改',
        size: 'small',
        labelWidth: 120,
        index: true,
        page: true,
        align: "center",
        menuType: 'menu',
        menuAlign: 'center',
        editBtn: false,
        addBtn: false,
        searchIndex: 2,
        menuPosition: "right",
        column: [
            {
                label: '日志类型',
                span: 12,
                prop: 'logType',
                type: "select",
                width: 100,
                search: true,
                sortable:true,
                dicData: [
                    {label: "用户退出登录", value: -2},
                    {label: "用户登录", value: -1},
                    {label: "用户访问", value: 0},
                    {label: "系统", value: 1},
                    {label: "定时任务", value: 2},
                ]
            },
            {
                label: '标题',
                span: 12,
                prop: 'title',
                width: 160,
                search: true,
                sortable:true,
            },
            {
                label: '动作描述',
                span: 12,
                prop: 'action',
                width: 80,
                sortable:true,
            },
            {
                label: '路径',
                span: 12,
                prop: 'path',
                align: 'left',
            },
            {
                label: '客户端IP',
                span: 12,
                prop: 'requestIp',
                width: 100,
                search: true,
                align: 'left',
            }, {
                label: '操作时间',
                span: 12,
                type: "datetime",
                valueFormat: "yyyy-MM-dd HH:mm:ss",
                format: "yyyy-MM-dd HH:mm:ss",
                prop: 'createTime',
                width: 160,
                search: true,
                align: 'left',
            },

        ]
    }
}
